<% var body={%>
<div class="container">
	<div class="row">
	<div align="center">
			<h4 class="muted">查看分类列表</h4>
		</div>
	</div>
	<div class="row">
		<div class="span12">
			<table class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						<td><p class="text-info"><strong>通过</strong></p></td>
						<td><p class="text-info"><strong>题号</strong></p></td>
						<td><p class="text-info"><strong>标题</strong></p></td>
						<td><p class="text-info"><strong>AC/All</strong></p></td>
						<td><p class="text-info"><strong>通过率</strong></p></td>
					</tr>
				</thead>
				<% var color=["","success","warning"]; var tag=["","<b class='text-success'>&radic;</b>",
				"<b class='text-info'>&minus;</b>"]; for(problem in problemlist){%>
				<tbody>
					<tr class="${color[problem.status]}">
						<td class="span1">${tag[problem.status]}</td>
						<td class="span1"><a
							href="${adminPath}/show/problem/${problem.pid}">${problem.pid}</a></td>
						<td class="span7">&nbsp;&nbsp;<a
							href="${adminPath}/show/problem/${problem.pid}">${problem.title}</a></td>
						<td>${problem.accepted}/${problem.submit}</td>
						<td>${problem.ratio,"##.##"}%</td>
					</tr>
				</tbody>
				<%}%>
			</table>
		</div>
	</div>
	</div>

<%}; include("_layout.html",{body:body}){}%>